/**
 * 
 */
package com.kovell.profileo.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * @author SOSSERES
 *
 */
//@Entity
//@Table(name="PFO_FI_RCD")
public class FinancialRecordEntity extends BaseEntity{

	@Column(name="RELEASE_DATE")
	@Temporal(TemporalType.TIMESTAMP)
	private Date releaseDate;
	
	@Column(name="NAME", nullable=false)
	private String name;
	
	@Column(name="TYPE")
	private String reportType;
	
	@Column(name="DIVIDEND")
	private BigDecimal dividend;
	
	@Column(name="SPE_DIVIDEND")
	private BigDecimal specialDividend;
	
	@Column(name="PRICE_ON_REL_DATE")
	private BigDecimal priceOnReleaseDate;
	
	@Column(name="REVENUE")
	private long revenue;
	
	@Column(name="PBT")
	private long profitBeforeTax;
	
	@Column(name="NET_PROFIT")
	private long netEarning;
	
	@Column(name="CURR_ASSET")
	private long currentAsset;
	
	@Column(name="NON_CURR_ASSET")
	private long nonCurrentAsset;
	
	@Column(name="CURR_LIABILITY")
	private long currentLiability;
	
	@Column(name="NON_CURR_LIABILITY")
	private long nonCurrentLiability;
	
	@Column(name="EQUITY")
	private long equity;
	
	@Column(name="NET_CF_OPE")
	private long netCashFlowFromOperating;
	
	@Column(name="NET_CF_INV")
	private long netCashFlowFromInvesting;
	
	@Column(name="NET_CF_FIN")
	private long netCashFlowFromFinancing;
	
	@Column(name="CASH_EQ_YEAR_START")
	private long cashEquivalentAtYearStart;
	
	/**
	 * 
	 */
	public FinancialRecordEntity() {
		// TODO Auto-generated constructor stub
	}

	public long getRevenue() {
		return revenue;
	}

	public void setRevenue(long revenue) {
		this.revenue = revenue;
	}

	public long getProfitBeforeTax() {
		return profitBeforeTax;
	}

	public void setProfitBeforeTax(long profitBeforeTax) {
		this.profitBeforeTax = profitBeforeTax;
	}

	public long getNetEarning() {
		return netEarning;
	}

	public void setNetEarning(long netEarning) {
		this.netEarning = netEarning;
	}

	public long getCurrentAsset() {
		return currentAsset;
	}

	public void setCurrentAsset(long currentAsset) {
		this.currentAsset = currentAsset;
	}

	public long getNonCurrentAsset() {
		return nonCurrentAsset;
	}

	public void setNonCurrentAsset(long nonCurrentAsset) {
		this.nonCurrentAsset = nonCurrentAsset;
	}

	public long getCurrentLiability() {
		return currentLiability;
	}

	public void setCurrentLiability(long currentLiability) {
		this.currentLiability = currentLiability;
	}

	public long getNonCurrentLiability() {
		return nonCurrentLiability;
	}

	public void setNonCurrentLiability(long nonCurrentLiability) {
		this.nonCurrentLiability = nonCurrentLiability;
	}

	public long getEquity() {
		return equity;
	}

	public void setEquity(long equity) {
		this.equity = equity;
	}

	public Date getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}

	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}

	public BigDecimal getDividend() {
		return dividend;
	}

	public void setDividend(BigDecimal dividend) {
		this.dividend = dividend;
	}

	public BigDecimal getSpecialDividend() {
		return specialDividend;
	}

	public void setSpecialDividend(BigDecimal specialDividend) {
		this.specialDividend = specialDividend;
	}

	public BigDecimal getPriceOnReleaseDate() {
		return priceOnReleaseDate;
	}

	public void setPriceOnReleaseDate(BigDecimal priceOnReleaseDate) {
		this.priceOnReleaseDate = priceOnReleaseDate;
	}

	public long getNetCashFlowFromOperating() {
		return netCashFlowFromOperating;
	}

	public void setNetCashFlowFromOperating(long netCashFlowFromOperating) {
		this.netCashFlowFromOperating = netCashFlowFromOperating;
	}

	public long getNetCashFlowFromInvesting() {
		return netCashFlowFromInvesting;
	}

	public void setNetCashFlowFromInvesting(long netCashFlowFromInvesting) {
		this.netCashFlowFromInvesting = netCashFlowFromInvesting;
	}

	public long getNetCashFlowFromFinancing() {
		return netCashFlowFromFinancing;
	}

	public void setNetCashFlowFromFinancing(long netCashFlowFromFinancing) {
		this.netCashFlowFromFinancing = netCashFlowFromFinancing;
	}

	public long getCashEquivalentAtYearStart() {
		return cashEquivalentAtYearStart;
	}

	public void setCashEquivalentAtYearStart(long cashEquivalentAtYearStart) {
		this.cashEquivalentAtYearStart = cashEquivalentAtYearStart;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
